package com.luuyi.actionchain;

import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.helper.ItemTouchHelper;

import com.luuyi.actionchain.action.AsyncDelayAction;
import com.luuyi.actionchain.action.DialogAction;
import com.luuyi.actionchain.action.ToastAction;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        findViewById(R.id.tv_common).setOnClickListener(v -> startActivity(new Intent(this, CommonActionsActivity.class)));
        findViewById(R.id.tv_active).setOnClickListener(v -> startActivity(new Intent(this, ActiveAddActionsActivity.class)));
    }
}
